home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 748 / 748.xpi / content / manage.xul < prev    next >
Extensible Markup Language  |  2010-02-11  |  3KB  |  73 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://greasemonkey/content/manage.css" type="text/css"?>
  4. <?xul-overlay href="chrome://greasemonkey/content/pages-overlay.xul"?>
  5.  
  6. <!DOCTYPE dialog SYSTEM "chrome://greasemonkey/locale/greasemonkey.dtd">
  7.  
  8. <window id="greasemonkey"
  9.   windowtype="Greasemonkey:Manage"
  10.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.   title="&manage.title;"
  12.   persist="screenX screenY width height"
  13.   orient="vertical">
  14.  
  15.   <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js" />
  16.   <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js" />
  17.   <script type="application/x-javascript" src="chrome://greasemonkey/content/utils.js" />
  18.   <script type="application/x-javascript" src="chrome://greasemonkey/content/prefmanager.js" />
  19.   <script type="application/x-javascript" src="chrome://greasemonkey/content/manage.js" />
  20.  
  21.   <stringbundle id="gm-manage-bundle" src="chrome://greasemonkey/locale/gm-manage.properties" />
  22.  
  23.   <grid flex="1" orient="vertical">
  24.     <columns>
  25.       <column id="col_left"
  26.         flex="1" />
  27.       <column id="col_right"
  28.         flex="3" />
  29.     </columns>
  30.  
  31.     <rows>
  32.       <row flex="1" orient="horizontal">
  33.         <vbox flex="1">
  34.           <listbox id="lstScripts"
  35.             flex="10"
  36.             onkeypress="return listboxKeypress(event);"
  37.             ondraggesture="nsDragAndDrop.startDrag(event, dndObserver);"
  38.             ondragover="nsDragAndDrop.dragOver(event, dndObserver);"
  39.             ondragdrop="nsDragAndDrop.drop(event, dndObserver);" />
  40.           <description flex="1">&manage.reorderHelp;</description>
  41.         </vbox>
  42.         <vbox>
  43.           <description id="ctlHeader" />
  44.           <description id="ctlDescription" />
  45.           <vbox id="pages-control"
  46.             flex="1" />
  47.         </vbox>
  48.       </row>
  49.       <row>
  50.         <hbox>
  51.           <checkbox id="chkEnabled"
  52.             label="&manage.label.chkEnabled;"
  53.             checked="true" />
  54.           <button id="btnEdit"
  55.             label="&manage.label.btnEdit;" />
  56.         </hbox>
  57.         <vbox>
  58.           <hbox flex="1" />
  59.           <hbox>
  60.             <button id="btnUninstall"
  61.               label="&manage.label.btnUninstall;" />
  62.             <checkbox id="chkUninstallPrefs"
  63.               label="&manage.label.chkUninstall;"
  64.               checked="false" />
  65.             <spacer flex="1"/>
  66.             <button label="&manage.button.close;" oncommand="close();"/>
  67.           </hbox>
  68.         </vbox>
  69.       </row>
  70.     </rows>
  71.   </grid>
  72.  
  73. </window>